package com.shop.admin.validate.course;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@ApiModel("课程观众创建参数")
public class CourseAudienceCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "课程ID")
    @NotNull(message = "课程ID不能为空")
    private Integer courseId;

    @ApiModelProperty(value = "用户类型")
    @NotNull(message = "用户类型不能为空")
    private Integer userType;

    @ApiModelProperty(value = "用户手机")
    @NotNull(message = "用户手机不能为空")
    private String phone;


}
